package com.three.storemanage.service;

import com.three.core.entity.CarWashRecord;
import com.three.core.entity.WashCarCoupon;
import com.three.core.vo.R;
import com.three.storemanage.vo.CouponVo;

import java.util.Date;
import java.util.List;

/**
 * @FileName: CarStoreService
 * @Description:
 * @Author: GYX
 * @CreateTime: 2025/3/17 19:37
 * @Version: 1.0.0
 */
public interface CarWashRecordService {
    R<List<CarWashRecord>> selectByStoreId(Integer storeId);

    R<List<CarWashRecord>> selectByUserId();

    R<Integer> countByUserId(Integer userId);

    R<List<CarWashRecord>> selectByUserIdAndDate(Integer userId, Date createDate);

    R<Integer> insertCarWashRecord(CarWashRecord carWashRecord);

    R<List<WashCarCoupon>> selectCouponByCondition(CouponVo couponVo);

    R<Integer> updateCarWashRecord(CarWashRecord carWashRecord);
}
